import { PartialType } from '@nestjs/mapped-types';
import { CreateEnterpriseDto } from './create-enterprise.dto';
import { IsNotEmpty } from 'class-validator';

export class UpdateEnterpriseDto extends PartialType(CreateEnterpriseDto) {
  @IsNotEmpty({
    message: 'id不能为空',
  })
  id: number;
}
